//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Madama Butterfly','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','5/11/2024','1:00 PM','5976754','Madama-Butterfly-5-11-2024'],['Broadway at The Paramount','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','5/18/2024','2:00 PM','6378746','Broadway-at-The-Paramount-5-18-2024'],['Broadway at The Paramount','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','5/18/2024','7:30 PM','6378747','Broadway-at-The-Paramount-5-18-2024'],['Dr. Temple Grandin','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','5/21/2024','7:00 PM','6378754','Dr--Temple-Grandin-5-21-2024'],['Beatles vs. Elvis - A Musical Showdown','Paramount Theater Of Charlottesville','Charlottesville, VA','Thursday','5/30/2024','7:30 PM','6297476','Beatles-vs--Elvis---A-Musical-Showdown-5-30-2024'],['Hilary Hahn & Andreas Haefliger','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','6/4/2024','7:30 PM','6227865','Hilary-Hahn---Andreas-Haefliger-6-4-2024'],['Pride Anthems - A Vibrant Musical Journey','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','6/11/2024','7:30 PM','6351634','Pride-Anthems---A-Vibrant-Musical-Journey-6-11-2024'],['Charlottesville Opera: The Music Man','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','6/21/2024','7:00 PM','6351636','Charlottesville-Opera--The-Music-Man-6-21-2024'],['Charlottesville Opera: The Music Man','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','6/22/2024','1:30 PM','6351637','Charlottesville-Opera--The-Music-Man-6-22-2024'],['Charlottesville Opera: The Music Man','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','6/22/2024','7:00 PM','6351638','Charlottesville-Opera--The-Music-Man-6-22-2024'],['Charlottesville Opera: The Music Man','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','6/23/2024','1:30 PM','6351639','Charlottesville-Opera--The-Music-Man-6-23-2024'],['Pete Davidson','Paramount Theater Of Charlottesville','Charlottesville, VA','Thursday','6/27/2024','9:30 PM','6419884','Pete-Davidson-6-27-2024'],['Charlottesville Opera: The Elixir of Love','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','7/12/2024','7:30 PM','6351644','Charlottesville-Opera--The-Elixir-of-Love-7-12-2024'],['Charlottesville Opera: The Elixir of Love','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','7/14/2024','2:00 PM','6351645','Charlottesville-Opera--The-Elixir-of-Love-7-14-2024'],['Disney's Beauty & The Beast Jr:','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','8/3/2024','2:00 PM','6406889','Disney-s-Beauty---The-Beast-Jr--8-3-2024'],['Disney's Beauty & The Beast Jr:','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','8/3/2024','7:00 PM','6406890','Disney-s-Beauty---The-Beast-Jr--8-3-2024'],['Couples Therapy','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','10/5/2024','8:00 PM','6278470','Couples-Therapy-10-5-2024'],['Brian Regan','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','10/20/2024','7:00 PM','6412290','Brian-Regan-10-20-2024'],['Nutcracker! Magical Christmas Ballet','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','11/12/2024','7:00 PM','6351646','Nutcracker--Magical-Christmas-Ballet-11-12-2024'],['Nutcracker! Magical Christmas Ballet','Paramount Theater Of Charlottesville','Charlottesville, VA','Wednesday','11/13/2024','7:00 PM','6351647','Nutcracker--Magical-Christmas-Ballet-11-13-2024'],['Nurse Blake','Paramount Theater Of Charlottesville','Charlottesville, VA','Monday','11/25/2024','7:00 PM','6329576','Nurse-Blake-11-25-2024'],['Bored Teachers Comedy Tour','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','12/6/2024','7:30 PM','6391736','Bored-Teachers-Comedy-Tour-12-6-2024']],'Paramount Theater Charlottesville','http://www.ticketnetwork.com/ticket/Paramount-Theater-Charlottesville-events.aspx');